class CreateTbReaders < ActiveRecord::Migration
  def change
    create_table :tb_readers do |t|
      t.integer :readerid
      t.string :name
      t.string :sex
      t.string :barcode
      t.string :Type   #教师/学生
      t.string :peperNO
      t.string :Tel
      t.string :Email
      t.string :Documents_state #证件状态(正常/挂失/超期)
      t.integer :remark


      t.timestamps null: false
    end
  end
end
